<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="https://cdn.bootcdn.net/ajax/libs/gsap/3.5.1/gsap.min.js"></script>
    <style>
        html,body{
            margin:0;
            padding: 0;
            width: 100%;
            height: 100vh;
            background: #161616;
            font-family: "Moument Extended";
        }
        .text{
            position: absolute;
            pointer-events: none;
            font-size: 6em;
            -webkit-text-stroke:1.6px #fff;
            text-transform: uppercase;
            font-weight: 500;
            color: #161616;
        }
    </style>
</head>
<body>
    <div class="cursor">
        <div class="text">codegrid</div>
        <div class="text">codegrid</div>
        <div class="text">codegrid</div>
        <div class="text">codegrid</div>
        <div class="text"> <span>codegrid</span></div>
    </div>

    <script>
        document.addEventListener('mousemove',e=>{
            gsap.to('.text',{
                x:e.clientX,
                y:e.clientY,
                stagger:-0.02
            })
        })
    </script>

</body>
</html>